<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let time=5;
        setInterval(() => {
            document.body.innerHTML=`${time}s后跳转页面`;
            time--;
            if(time<=0){
            location.href='https://www.4399.com';
            }

        }, 1000);
    </script>
</body>
</html>